﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using PraxisRent.Entities;
using PraxisRent.Repository;
using Microsoft.Practices.Unity;

namespace PraxisRent.BL
{
    public class DetalleEntregaBL:IDetalleEntregaBL
    {
        [Dependency]
        public IDetalleEntregaRepository detEntregaDAO { get; set; }

        public List<DETALLE_ENTREGA> GetAllFromDetalleEntregaByCodigoEntrega(int codigo)
        {
            return detEntregaDAO.GetAllFromDetalleEntregaByCodigoEntrega(codigo);
        }
    }
}
